<template>
  <div class="hm-son">我是子组件；{{ num }}</div>
</template>
<script>
export default {
  data () {
    return {
      num: 999
    }
  },
  methods: {
    fn () {
      console.log('fn')
    }
  }
}
</script>
<style scoped>
.hm-son {
  width: 300px;
  height: 300px;
  background-color: #f00;
}
</style>
